// vitest.config.ts
import { fileURLToPath as fileURLToPath2 } from "node:url";
import { mergeConfig, defineConfig as defineConfig2, configDefaults } from "file:///D:/bishe/vue_project/node_modules/vitest/dist/config.js";

// vite.config.ts
import { fileURLToPath, URL as URL2 } from "node:url";
import { defineConfig } from "file:///D:/bishe/vue_project/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/bishe/vue_project/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import vueJsx from "file:///D:/bishe/vue_project/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
import vueDevTools from "file:///D:/bishe/vue_project/node_modules/vite-plugin-vue-devtools/dist/vite.mjs";
var __vite_injected_original_import_meta_url = "file:///D:/bishe/vue_project/vite.config.ts";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    vueJsx(),
    vueDevTools()
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL2("./src", __vite_injected_original_import_meta_url))
    }
  },
  build: {
    target: "es2017",
    minify: "terser",
    manifest: false,
    sourcemap: false,
    outDir: "dist"
  },
  server: {
    open: true,
    // 热启动
    port: Number(process.env.VITE_CLI_PORT),
    // 端口号
    proxy: {
      [process.env.VITE_PROXY_API]: {
        target: process.env.VITE_BASE_PATH,
        changeOrigin: true,
        rewrite: (path) => path.replace(new RegExp(`^${process.env.VITE_PROXY_API}`), "")
      },
      "/sse": {
        target: `${process.env.VITE_BASE_PATH}`,
        changeOrigin: true,
        rewrite: (path) => path.replace(new RegExp("^/sse"), "")
      }
    }
  }
});

// vitest.config.ts
var __vite_injected_original_import_meta_url2 = "file:///D:/bishe/vue_project/vitest.config.ts";
var vitest_config_default = mergeConfig(
  vite_config_default,
  defineConfig2({
    test: {
      environment: "jsdom",
      exclude: [...configDefaults.exclude, "e2e/**"],
      root: fileURLToPath2(new URL("./", __vite_injected_original_import_meta_url2))
    }
  })
);
export {
  vitest_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0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